package pe.edu.pucp.Seguridad.Vista;

import java.awt.event.ActionListener;
import java.util.ArrayList;
import javax.swing.AbstractButton;
import javax.swing.ButtonModel;
import pe.edu.pucp.Modelo.Perfil;
import pe.edu.pucp.Modelo.Permiso;
import pe.edu.pucp.Util.Constante;
import pe.edu.pucp.Util.ValHelper;

public class PerfilGUI extends javax.swing.JDialog {  
    private ArrayList<Permiso> listPermiso;

    public PerfilGUI(java.awt.Frame parent, boolean modal) {
        super(parent, modal);        
        initComponents();        
        setLocationRelativeTo(null);  
    }
    
    public void setEstadoGuardar(String msn, String titulo){        
        btnGuardar.setToolTipText(msn);
        this.setTitle("SIGEPA - "+titulo);
    }      
    
    public void setFormPerfil(Perfil p){
        if (p!=null){
            txtDesc.setText(p.getDescripcion());            
            spnTCambioPass.setValue(p.getDurpass());  
            listPermiso= new  ArrayList<>(p.getPermisos());
            if (!listPermiso.isEmpty()){                
                jcbPerfil.setSelected(buscarPermiso(Constante.P_SEG_PERFIL)==1);
                jcbUsuario.setSelected(buscarPermiso(Constante.P_SEG_USUARIO)==1);
                jcbConfiguracion.setSelected(buscarPermiso(Constante.P_SEG_CONFIGURACION)==1);
                jcbRepAuditoria.setSelected(buscarPermiso(Constante.P_SEG_REPORTE)==1);
                
                jcbAeropuerto.setSelected(buscarPermiso(Constante.P_ADM_AEROPUERTO)==1);
                jcbCargaVuelo.setSelected(buscarPermiso(Constante.P_ADM_CARGAVUELO)==1);
                jcbCargaMasiva.setSelected(buscarPermiso(Constante.P_ADM_CARGAMASIVA)==1);
                
                jcbVuelo.setSelected(buscarPermiso(Constante.P_ENV_VUELO)==1);
                jcbCliente.setSelected(buscarPermiso(Constante.P_ENV_CLIENTE)==1);                
                jcbAlmacen.setSelected(buscarPermiso(Constante.P_ENV_ALMACEN)==1);
                jcbRepEnvio.setSelected(buscarPermiso(Constante.P_ENV_REPORTE)==1);
                
                jcbSimulacion.setSelected(buscarPermiso(Constante.P_SIM_SIMULACION)==1);
                
                jcbRepKardex.setSelected(buscarPermiso(Constante.P_REP_KARDEX)==1);
                jcbRepCancelacion.setSelected(buscarPermiso(Constante.P_REP_CANCELACION)==1);                
                jcbRepAlmacen.setSelected(buscarPermiso(Constante.P_REP_ALMACEN)==1);
                
                jcbPerfilB.setSelected(buscarPermiso(Constante.P_SEG_PER_BUSCAR)==1);
                jcbPerfilR.setSelected(buscarPermiso(Constante.P_SEG_PER_REGISTRAR)==1);
                jcbPerfilE.setSelected(buscarPermiso(Constante.P_SEG_PER_EDITAR)==1);
                jcbPerfilI.setSelected(buscarPermiso(Constante.P_SEG_PER_INACTIVAR)==1);
                jcbPerfilA.setSelected(buscarPermiso(Constante.P_SEG_PER_ACTIVAR)==1);
                jcbUsuarioB.setSelected(buscarPermiso(Constante.P_SEG_USR_BUSCAR)==1);
                jcbUsuarioR.setSelected(buscarPermiso(Constante.P_SEG_USR_REGISTRAR)==1);
                jcbUsuarioE.setSelected(buscarPermiso(Constante.P_SEG_USR_EDITAR)==1);
                jcbUsuarioI.setSelected(buscarPermiso(Constante.P_SEG_USR_INACTIVAR)==1);
                jcbUsuarioA.setSelected(buscarPermiso(Constante.P_SEG_USR_ACTIVAR)==1);
                jcbConfiguracionG.setSelected(buscarPermiso(Constante.P_SEG_CON_GUARDAR)==1);
                jcbRepAuditoriaB.setSelected(buscarPermiso(Constante.P_SEG_REP_BUSCAR)==1);
                jcbRepAuditoriaG.setSelected(buscarPermiso(Constante.P_SEG_REP_GENERAR)==1);
                
                
                jcbAeropuertoB.setSelected(buscarPermiso(Constante.P_ADM_AER_BUSCAR)==1);
                jcbAeropuertoR.setSelected(buscarPermiso(Constante.P_ADM_AER_REGISTRAR)==1);
                jcbAeropuertoE.setSelected(buscarPermiso(Constante.P_ADM_AER_EDITAR)==1);
                
                jcbCargaVueloB.setSelected(buscarPermiso(Constante.P_ADM_CARV_BUSCAR)==1);
                jcbCargaVueloM.setSelected(buscarPermiso(Constante.P_ADM_CARV_MOSTRAR)==1);
                jcbCargaVueloA.setSelected(buscarPermiso(Constante.P_ADM_CARV_ABRIR)==1);
                jcbCargaVueloC.setSelected(buscarPermiso(Constante.P_ADM_CARV_CARGAR)==1);
                jcbCargaMasivaA.setSelected(buscarPermiso(Constante.P_ADM_CARM_CARGAR)==1);
                jcbCargaMasivaC.setSelected(buscarPermiso(Constante.P_ADM_CARM_CARGAR)==1);
                
                
                
                jcbVueloB.setSelected(buscarPermiso(Constante.P_ENV_VUE_BUSCAR)==1);
                jcbClienteB.setSelected(buscarPermiso(Constante.P_ENV_CLI_BUSCAR)==1);
                jcbClienteR.setSelected(buscarPermiso(Constante.P_ENV_CLI_REGISTRAR)==1);
                jcbClienteE.setSelected(buscarPermiso(Constante.P_ENV_CLI_EDITAR)==1);                                                
                jcbAlmacenB.setSelected(buscarPermiso(Constante.P_ENV_ALM_BUSCAR)==1);
                jcbAlmacenR.setSelected(buscarPermiso(Constante.P_ENV_ALM_REGISTRAR)==1);
                jcbAlmacenE.setSelected(buscarPermiso(Constante.P_ENV_ALM_ENTRADA)==1);
                jcbAlmacenS.setSelected(buscarPermiso(Constante.P_ENV_ALM_SALIDA)==1);
                jcbRepEnvioB.setSelected(buscarPermiso(Constante.P_ENV_REP_BUSCAR)==1);
                jcbRepEnvioG.setSelected(buscarPermiso(Constante.P_ENV_REP_GENERAR)==1);
                                
                jcbSimulacionB.setSelected(buscarPermiso(Constante.P_SIM_REP_BUSCAR)==1);
                jcbSimulacionG.setSelected(buscarPermiso(Constante.P_SIM_REP_GENERAR)==1);
                jcbSimulacionS.setSelected(buscarPermiso(Constante.P_SIM_SIM_SIMULAR)==1);
                
                jcbRepKardexB.setSelected(buscarPermiso(Constante.P_REP_KAR_BUSCAR)==1);
                jcbRepKardexG.setSelected(buscarPermiso(Constante.P_REP_KAR_GENERAR)==1);
                jcbRepCancelacionB.setSelected(buscarPermiso(Constante.P_REP_CAN_BUSCAR)==1);
                jcbRepCancelacionG.setSelected(buscarPermiso(Constante.P_REP_CAN_GENERAR)==1);                
                jcbRepAlmacenB.setSelected(buscarPermiso(Constante.P_REP_ALM_BUSCAR)==1);                
                jcbRepAlmacenG.setSelected(buscarPermiso(Constante.P_REP_ALM_GENERAR)==1);
            }
        }
    }     
        
    public int buscarPermiso(int idel){
        int per=-1;
        for (Permiso c : listPermiso){
            if (c.getElemento().getIdelemento()==idel){ per =c.getPermiso(); }
        }
        return per;
    }    
    
    public boolean getjcbPerfil(){ return jcbPerfil.isSelected(); }
    
    public boolean getjcbUsuario(){ return jcbUsuario.isSelected();}
    
    public boolean getjcbConfiguracion(){return jcbConfiguracion.isSelected();}
    
    public boolean getjcbRepAuditoria(){return jcbRepAuditoria.isSelected();}
    
    public boolean getjcbAeropuerto(){ return jcbAeropuerto.isSelected();}
    
    public boolean getjcbCargaVuelo(){ return jcbCargaVuelo.isSelected();}
    
    public boolean getjcbCargaMasiva(){ return jcbCargaMasiva.isSelected();}
    
    public boolean getjcbVuelo(){ return jcbVuelo.isSelected();}
    
    public boolean getjcbCliente(){ return jcbCliente.isSelected();}        
    
    public boolean getjcbAlmacen(){ return jcbAlmacen.isSelected();}
    
    public boolean getjcbRepEnvio(){ return jcbRepEnvio.isSelected();}
    
    public boolean getjcbSimulacion(){ return jcbSimulacion.isSelected();}
    
    public boolean getjcbRepKardex(){ return jcbRepKardex.isSelected();}
    
    public boolean getjcbRepCancelacion(){ return jcbRepCancelacion.isSelected();}        
    
    public boolean getjcbRepAlmacen(){ return jcbRepAlmacen.isSelected();}
    
    public boolean getjcbPerfilB(){ return jcbPerfilB.isSelected();}
    
    public boolean getjcbPerfilR(){ return jcbPerfilR.isSelected();}
    
    public boolean getjcbPerfilE(){ return jcbPerfilE.isSelected();}
    
    public boolean getjcbPerfilI(){ return jcbPerfilI.isSelected();}
    
    public boolean getjcbPerfilA(){ return jcbPerfilA.isSelected();}
    
    public boolean getjcbUsuarioB(){ return jcbUsuarioB.isSelected();}
    
    public boolean getjcbUsuarioR(){ return jcbUsuarioR.isSelected();}
    
    public boolean getjcbUsuarioE(){ return jcbUsuarioE.isSelected();}
    
    public boolean getjcbUsuarioI(){ return jcbUsuarioI.isSelected();}
    
    public boolean getjcbUsuarioA(){ return jcbUsuarioA.isSelected();}
    
    public boolean getjcbConfiguracionG(){ return jcbConfiguracionG.isSelected();}
    
    public boolean getjcbRepAuditoriaB(){ return jcbRepAuditoriaB.isSelected();}
    
    public boolean getjcbRepAuditoriaG(){ return jcbRepAuditoriaG.isSelected();}        
    
    public boolean getjcbBusAeropuerto(){ return jcbAeropuertoB.isSelected();}
    
    public boolean getjcbRegAeropuerto(){ return jcbAeropuertoR.isSelected();}
    
    public boolean getjcbEditAeropuerto(){ return jcbAeropuertoE.isSelected();}
    
    public boolean getjcbCarVueloB(){ return jcbCargaVueloB.isSelected();}
    
    public boolean getjcbCarVueloM(){ return jcbCargaVueloM.isSelected();}
    
    public boolean getjcbCarVueloA(){ return jcbCargaVueloA.isSelected();}
    
    public boolean getjcbCarVueloC(){ return jcbCargaVueloC.isSelected();}
    
    public boolean getjcbCarMasivaA(){ return jcbCargaMasivaA.isSelected();}
    
    public boolean getjcbCarMasivaC(){ return jcbCargaMasivaC.isSelected();}    
    
    public boolean getjcbBusVuelo(){ return jcbVueloB.isSelected();}
    
    public boolean getjcbBusCliente(){ return jcbClienteB.isSelected();}
    
    public boolean getjcbRegCliente(){ return jcbClienteR.isSelected();}
    
    public boolean getjcbEditCliente(){ return jcbClienteE.isSelected();}
    
    public boolean getjcbBusAlmacen(){ return jcbAlmacenB.isSelected();}
    
    public boolean getjcbRegAlmacen(){ return jcbAlmacenR.isSelected();}
    
    public boolean getjcbEntAlmacen(){ return jcbAlmacenE.isSelected();}
    
    public boolean getjcbSalAlmacen(){ return jcbAlmacenS.isSelected();}
    
    public boolean getjcbRepEnvioB(){ return jcbRepEnvioB.isSelected();}
    
    public boolean getjcbRepEnvioG(){ return jcbRepEnvioG.isSelected();}    
    
    public boolean getjcbSimSimulador(){ return jcbSimulacionS.isSelected();}
    
    public boolean getjcbSimReporteB(){ return jcbSimulacionB.isSelected();}
    
    public boolean getjcbSimReporteG(){ return jcbSimulacionG.isSelected();}
    
    public boolean getjcbRepKardexG(){ return jcbRepKardexG.isSelected();}
    
    public boolean getjcbRepKardexB(){ return jcbRepKardexB.isSelected();}
    
    public boolean getjcbRepCancelacionG(){ return jcbRepCancelacionG.isSelected();}        
    
    public boolean getjcbRepCancelacionB(){ return jcbRepCancelacionB.isSelected();}        
    
    public boolean getjcbRepAlmacenG(){ return jcbRepAlmacenG.isSelected();}    
    
    public boolean getjcbRepAlmacenB(){ return jcbRepAlmacenB.isSelected();}    
    
    public String getDescripcion(){ return txtDesc.getText().trim().toUpperCase(); }          
            
    public int getTCambioPass(){ return Integer.parseInt(spnTCambioPass.getValue().toString()); }     
      
    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        txt_Nombre1 = new javax.swing.JTextField();
        label5 = new java.awt.Label();
        jPanel1 = new javax.swing.JPanel();
        txtDesc = new javax.swing.JTextField();
        spnTCambioPass = new javax.swing.JSpinner();
        lblNombPerfil = new javax.swing.JLabel();
        lblDurPass = new javax.swing.JLabel();
        jPanel8 = new javax.swing.JPanel();
        btnGuardar = new javax.swing.JButton();
        btnCancelar = new javax.swing.JButton();
        btnLimpiar = new javax.swing.JButton();
        tabPerfil = new javax.swing.JTabbedPane();
        pnSeguridad = new javax.swing.JPanel();
        jcbPerfil = new javax.swing.JCheckBox();
        jcbUsuario = new javax.swing.JCheckBox();
        jcbConfiguracion = new javax.swing.JCheckBox();
        jcbTSeg = new javax.swing.JCheckBox();
        jSeparator27 = new javax.swing.JSeparator();
        jSeparator28 = new javax.swing.JSeparator();
        jcbPerfilB = new javax.swing.JCheckBox();
        jcbPerfilR = new javax.swing.JCheckBox();
        jcbPerfilE = new javax.swing.JCheckBox();
        jcbPerfilI = new javax.swing.JCheckBox();
        jcbPerfilA = new javax.swing.JCheckBox();
        jcbUsuarioA = new javax.swing.JCheckBox();
        jcbUsuarioI = new javax.swing.JCheckBox();
        jcbUsuarioE = new javax.swing.JCheckBox();
        jcbUsuarioR = new javax.swing.JCheckBox();
        jcbUsuarioB = new javax.swing.JCheckBox();
        jSeparator29 = new javax.swing.JSeparator();
        jcbConfiguracionG = new javax.swing.JCheckBox();
        jcbTPerfil = new javax.swing.JCheckBox();
        jcbTConfiguracion = new javax.swing.JCheckBox();
        jcbTUsuario = new javax.swing.JCheckBox();
        jcbRepAuditoria = new javax.swing.JCheckBox();
        jSeparator30 = new javax.swing.JSeparator();
        jcbRepAuditoriaB = new javax.swing.JCheckBox();
        jcbRepAuditoriaG = new javax.swing.JCheckBox();
        jcbTRepAuditoria = new javax.swing.JCheckBox();
        pnAdministracion = new javax.swing.JPanel();
        jcbAeropuerto = new javax.swing.JCheckBox();
        jcbCargaVuelo = new javax.swing.JCheckBox();
        jcbCargaMasiva = new javax.swing.JCheckBox();
        jcbAeropuertoE = new javax.swing.JCheckBox();
        jcbAeropuertoR = new javax.swing.JCheckBox();
        jcbAeropuertoB = new javax.swing.JCheckBox();
        jSeparator17 = new javax.swing.JSeparator();
        jSeparator18 = new javax.swing.JSeparator();
        jcbCargaVueloC = new javax.swing.JCheckBox();
        jSeparator19 = new javax.swing.JSeparator();
        jcbCargaMasivaC = new javax.swing.JCheckBox();
        jcbTAdm = new javax.swing.JCheckBox();
        jcbTCargaVuelo = new javax.swing.JCheckBox();
        jcbTAeropuerto = new javax.swing.JCheckBox();
        jcbTCargaMasiva = new javax.swing.JCheckBox();
        jcbCargaVueloB = new javax.swing.JCheckBox();
        jcbCargaVueloA = new javax.swing.JCheckBox();
        jcbCargaVueloM = new javax.swing.JCheckBox();
        jcbCargaMasivaA = new javax.swing.JCheckBox();
        pnEnvio = new javax.swing.JPanel();
        jcbVuelo = new javax.swing.JCheckBox();
        jcbCliente = new javax.swing.JCheckBox();
        jcbAlmacen = new javax.swing.JCheckBox();
        jcbVueloB = new javax.swing.JCheckBox();
        jSeparator8 = new javax.swing.JSeparator();
        jcbClienteB = new javax.swing.JCheckBox();
        jcbClienteR = new javax.swing.JCheckBox();
        jcbClienteE = new javax.swing.JCheckBox();
        jSeparator10 = new javax.swing.JSeparator();
        jSeparator20 = new javax.swing.JSeparator();
        jcbAlmacenB = new javax.swing.JCheckBox();
        jcbAlmacenR = new javax.swing.JCheckBox();
        jcbAlmacenE = new javax.swing.JCheckBox();
        jcbTEnv = new javax.swing.JCheckBox();
        jcbTAlmacen = new javax.swing.JCheckBox();
        jcbTVuelo = new javax.swing.JCheckBox();
        jcbTCliente = new javax.swing.JCheckBox();
        jSeparator13 = new javax.swing.JSeparator();
        jcbRepEnvio = new javax.swing.JCheckBox();
        jcbRepEnvioB = new javax.swing.JCheckBox();
        jcbRepEnvioG = new javax.swing.JCheckBox();
        jcbTRepEnvio = new javax.swing.JCheckBox();
        jSeparator22 = new javax.swing.JSeparator();
        jcbAlmacenS = new javax.swing.JCheckBox();
        pnSimulacion = new javax.swing.JPanel();
        jcbSimulacion = new javax.swing.JCheckBox();
        jSeparator11 = new javax.swing.JSeparator();
        jcbSimulacionS = new javax.swing.JCheckBox();
        jcbSimulacionG = new javax.swing.JCheckBox();
        jcbTSim = new javax.swing.JCheckBox();
        jcbTSimulador = new javax.swing.JCheckBox();
        jcbSimulacionB = new javax.swing.JCheckBox();
        pnReporte = new javax.swing.JPanel();
        jcbRepKardex = new javax.swing.JCheckBox();
        jcbRepAlmacen = new javax.swing.JCheckBox();
        jcbRepCancelacion = new javax.swing.JCheckBox();
        jcbRepKardexG = new javax.swing.JCheckBox();
        jSeparator14 = new javax.swing.JSeparator();
        jSeparator15 = new javax.swing.JSeparator();
        jcbRepCancelacionG = new javax.swing.JCheckBox();
        jSeparator16 = new javax.swing.JSeparator();
        jcbRepAlmacenG = new javax.swing.JCheckBox();
        jcbTRep = new javax.swing.JCheckBox();
        jcbTRepKardex = new javax.swing.JCheckBox();
        jcbTRepCancelacion = new javax.swing.JCheckBox();
        jcbTRepAlmacen = new javax.swing.JCheckBox();
        jcbRepKardexB = new javax.swing.JCheckBox();
        jcbRepCancelacionB = new javax.swing.JCheckBox();
        jcbRepAlmacenB = new javax.swing.JCheckBox();

        label5.setText("Nombre :");

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        setMinimumSize(new java.awt.Dimension(702, 290));

        jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Datos", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Ubuntu", 0, 15))); // NOI18N

        txtDesc.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                txtDescKeyTyped(evt);
            }
        });

        spnTCambioPass.setModel(new javax.swing.SpinnerNumberModel(Integer.valueOf(1), Integer.valueOf(1), null, Integer.valueOf(1)));

        lblNombPerfil.setFont(new java.awt.Font("Ubuntu", 1, 15)); // NOI18N
        lblNombPerfil.setForeground(java.awt.Color.gray);
        lblNombPerfil.setText("Nombre de Perfil");

        lblDurPass.setFont(new java.awt.Font("Ubuntu", 1, 15)); // NOI18N
        lblDurPass.setForeground(java.awt.Color.gray);
        lblDurPass.setText("Vigencia Contraseña (meses)");
        lblDurPass.setToolTipText("");

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(lblNombPerfil)
                    .addComponent(lblDurPass))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(spnTCambioPass, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(txtDesc, javax.swing.GroupLayout.PREFERRED_SIZE, 367, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
                    .addComponent(lblNombPerfil)
                    .addComponent(txtDesc, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
                    .addComponent(spnTCambioPass, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblDurPass))
                .addContainerGap(49, Short.MAX_VALUE))
        );

        jPanel8.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Permisos", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Ubuntu", 0, 15))); // NOI18N

        btnGuardar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Recurso/checkmark.png"))); // NOI18N

        btnCancelar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Recurso/delete.png"))); // NOI18N
        btnCancelar.setToolTipText("Cancelar");

        btnLimpiar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Recurso/refresh.png"))); // NOI18N
        btnLimpiar.setToolTipText("Limpiar");

        tabPerfil.setBorder(null);
        tabPerfil.setMaximumSize(new java.awt.Dimension(683, 245));
        tabPerfil.setMinimumSize(new java.awt.Dimension(683, 245));
        tabPerfil.setPreferredSize(new java.awt.Dimension(683, 245));

        pnSeguridad.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
        pnSeguridad.setMaximumSize(new java.awt.Dimension(683, 245));
        pnSeguridad.setMinimumSize(new java.awt.Dimension(683, 245));
        pnSeguridad.setPreferredSize(new java.awt.Dimension(683, 245));

        jcbPerfil.setText("Perfiles");
        jcbPerfil.setMaximumSize(new java.awt.Dimension(124, 24));
        jcbPerfil.setMinimumSize(new java.awt.Dimension(124, 24));
        jcbPerfil.setPreferredSize(new java.awt.Dimension(124, 24));
        jcbPerfil.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jcbPerfilStateChanged(evt);
            }
        });

        jcbUsuario.setText("Usuarios");
        jcbUsuario.setMaximumSize(new java.awt.Dimension(124, 24));
        jcbUsuario.setMinimumSize(new java.awt.Dimension(124, 24));
        jcbUsuario.setPreferredSize(new java.awt.Dimension(124, 24));
        jcbUsuario.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jcbUsuarioStateChanged(evt);
            }
        });

        jcbConfiguracion.setText("Configuración");
        jcbConfiguracion.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jcbConfiguracionStateChanged(evt);
            }
        });

        jcbTSeg.setText("Todos");
        jcbTSeg.setMaximumSize(new java.awt.Dimension(124, 24));
        jcbTSeg.setMinimumSize(new java.awt.Dimension(124, 24));
        jcbTSeg.setPreferredSize(new java.awt.Dimension(124, 24));
        jcbTSeg.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jcbTSegStateChanged(evt);
            }
        });

        jSeparator27.setOrientation(javax.swing.SwingConstants.VERTICAL);

        jSeparator28.setMaximumSize(new java.awt.Dimension(550, 10));
        jSeparator28.setMinimumSize(new java.awt.Dimension(4, 10));

        jcbPerfilB.setText("Buscar");
        jcbPerfilB.setEnabled(false);
        jcbPerfilB.setMaximumSize(new java.awt.Dimension(82, 24));
        jcbPerfilB.setMinimumSize(new java.awt.Dimension(82, 24));
        jcbPerfilB.setPreferredSize(new java.awt.Dimension(82, 24));

        jcbPerfilR.setText("Registrar");
        jcbPerfilR.setEnabled(false);

        jcbPerfilE.setText("Editar");
        jcbPerfilE.setEnabled(false);

        jcbPerfilI.setText("Inactivar");
        jcbPerfilI.setEnabled(false);

        jcbPerfilA.setText("Activar");
        jcbPerfilA.setEnabled(false);

        jcbUsuarioA.setText("Activar");
        jcbUsuarioA.setEnabled(false);

        jcbUsuarioI.setText("Inactivar");
        jcbUsuarioI.setEnabled(false);

        jcbUsuarioE.setText("Editar");
        jcbUsuarioE.setEnabled(false);

        jcbUsuarioR.setText("Registrar");
        jcbUsuarioR.setEnabled(false);

        jcbUsuarioB.setText("Buscar");
        jcbUsuarioB.setEnabled(false);
        jcbUsuarioB.setMaximumSize(new java.awt.Dimension(82, 24));
        jcbUsuarioB.setMinimumSize(new java.awt.Dimension(82, 24));
        jcbUsuarioB.setPreferredSize(new java.awt.Dimension(82, 24));

        jSeparator29.setMaximumSize(new java.awt.Dimension(550, 10));
        jSeparator29.setMinimumSize(new java.awt.Dimension(4, 10));

        jcbConfiguracionG.setText("Guardar");
        jcbConfiguracionG.setEnabled(false);

        jcbTPerfil.setText("Todos");
        jcbTPerfil.setEnabled(false);
        jcbTPerfil.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jcbTPerfilStateChanged(evt);
            }
        });

        jcbTConfiguracion.setText("Todos");
        jcbTConfiguracion.setEnabled(false);
        jcbTConfiguracion.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jcbTConfiguracionStateChanged(evt);
            }
        });

        jcbTUsuario.setText("Todos");
        jcbTUsuario.setEnabled(false);
        jcbTUsuario.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jcbTUsuarioStateChanged(evt);
            }
        });

        jcbRepAuditoria.setText("Auditoría");
        jcbRepAuditoria.setMaximumSize(new java.awt.Dimension(124, 24));
        jcbRepAuditoria.setMinimumSize(new java.awt.Dimension(124, 24));
        jcbRepAuditoria.setPreferredSize(new java.awt.Dimension(124, 24));
        jcbRepAuditoria.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jcbRepAuditoriaStateChanged(evt);
            }
        });
        jcbRepAuditoria.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jcbRepAuditoriaActionPerformed(evt);
            }
        });

        jSeparator30.setMaximumSize(new java.awt.Dimension(550, 10));
        jSeparator30.setMinimumSize(new java.awt.Dimension(4, 10));

        jcbRepAuditoriaB.setText("Buscar");
        jcbRepAuditoriaB.setEnabled(false);
        jcbRepAuditoriaB.setMaximumSize(new java.awt.Dimension(82, 24));
        jcbRepAuditoriaB.setMinimumSize(new java.awt.Dimension(82, 24));
        jcbRepAuditoriaB.setPreferredSize(new java.awt.Dimension(82, 24));

        jcbRepAuditoriaG.setText("Generar");
        jcbRepAuditoriaG.setEnabled(false);
        jcbRepAuditoriaG.setMaximumSize(new java.awt.Dimension(88, 24));
        jcbRepAuditoriaG.setMinimumSize(new java.awt.Dimension(88, 24));
        jcbRepAuditoriaG.setPreferredSize(new java.awt.Dimension(88, 24));

        jcbTRepAuditoria.setText("Todos");
        jcbTRepAuditoria.setEnabled(false);
        jcbTRepAuditoria.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jcbTRepAuditoriaStateChanged(evt);
            }
        });

        javax.swing.GroupLayout pnSeguridadLayout = new javax.swing.GroupLayout(pnSeguridad);
        pnSeguridad.setLayout(pnSeguridadLayout);
        pnSeguridadLayout.setHorizontalGroup(
            pnSeguridadLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnSeguridadLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pnSeguridadLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jcbTSeg, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jcbRepAuditoria, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jcbConfiguracion)
                    .addComponent(jcbUsuario, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jcbPerfil, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(4, 4, 4)
                .addComponent(jSeparator27, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(pnSeguridadLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jSeparator30, javax.swing.GroupLayout.PREFERRED_SIZE, 505, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jSeparator28, javax.swing.GroupLayout.PREFERRED_SIZE, 505, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(pnSeguridadLayout.createSequentialGroup()
                        .addGroup(pnSeguridadLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(pnSeguridadLayout.createSequentialGroup()
                                .addGroup(pnSeguridadLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jcbPerfilB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jcbUsuarioB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jcbConfiguracionG))
                                .addGap(10, 10, 10)
                                .addGroup(pnSeguridadLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jcbPerfilR)
                                    .addComponent(jcbUsuarioR))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(pnSeguridadLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jcbPerfilE)
                                    .addComponent(jcbUsuarioE))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(pnSeguridadLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jcbPerfilI)
                                    .addComponent(jcbUsuarioI))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(pnSeguridadLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jcbPerfilA)
                                    .addComponent(jcbUsuarioA)))
                            .addGroup(pnSeguridadLayout.createSequentialGroup()
                                .addComponent(jcbRepAuditoriaB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(10, 10, 10)
                                .addComponent(jcbRepAuditoriaG, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addGroup(pnSeguridadLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jcbTRepAuditoria, javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jcbTConfiguracion, javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jcbTUsuario, javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jcbTPerfil, javax.swing.GroupLayout.Alignment.TRAILING)))
                    .addComponent(jSeparator29, javax.swing.GroupLayout.PREFERRED_SIZE, 505, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(26, 26, 26))
        );
        pnSeguridadLayout.setVerticalGroup(
            pnSeguridadLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jSeparator27, javax.swing.GroupLayout.Alignment.TRAILING)
            .addGroup(pnSeguridadLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pnSeguridadLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
                    .addComponent(jcbPerfilB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jcbPerfilR)
                    .addComponent(jcbPerfilE)
                    .addComponent(jcbPerfilI)
                    .addComponent(jcbPerfilA)
                    .addComponent(jcbTPerfil)
                    .addComponent(jcbPerfil, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jSeparator28, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(pnSeguridadLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jcbUsuarioB, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jcbUsuarioR, javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jcbUsuarioE, javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jcbUsuarioI, javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jcbUsuarioA, javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jcbTUsuario, javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jcbUsuario, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(6, 6, 6)
                .addComponent(jSeparator29, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(pnSeguridadLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
                    .addComponent(jcbConfiguracionG)
                    .addComponent(jcbTConfiguracion)
                    .addComponent(jcbConfiguracion))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jSeparator30, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(pnSeguridadLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
                    .addComponent(jcbRepAuditoriaB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jcbRepAuditoriaG, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jcbTRepAuditoria)
                    .addComponent(jcbRepAuditoria, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 25, Short.MAX_VALUE)
                .addComponent(jcbTSeg, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );

        tabPerfil.addTab("Seguridad", pnSeguridad);

        pnAdministracion.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
        pnAdministracion.setMaximumSize(new java.awt.Dimension(683, 245));
        pnAdministracion.setMinimumSize(new java.awt.Dimension(683, 245));
        pnAdministracion.setPreferredSize(new java.awt.Dimension(683, 245));

        jcbAeropuerto.setText("Aeropuertos");
        jcbAeropuerto.setMaximumSize(new java.awt.Dimension(124, 24));
        jcbAeropuerto.setMinimumSize(new java.awt.Dimension(124, 24));
        jcbAeropuerto.setPreferredSize(new java.awt.Dimension(124, 24));
        jcbAeropuerto.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jcbAeropuertoStateChanged(evt);
            }
        });

        jcbCargaVuelo.setText("Carga Vuelos");
        jcbCargaVuelo.setMaximumSize(new java.awt.Dimension(124, 24));
        jcbCargaVuelo.setMinimumSize(new java.awt.Dimension(124, 24));
        jcbCargaVuelo.setPreferredSize(new java.awt.Dimension(124, 24));
        jcbCargaVuelo.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jcbCargaVueloStateChanged(evt);
            }
        });

        jcbCargaMasiva.setText("Carga Masiva");
        jcbCargaMasiva.setMaximumSize(new java.awt.Dimension(124, 24));
        jcbCargaMasiva.setMinimumSize(new java.awt.Dimension(124, 24));
        jcbCargaMasiva.setPreferredSize(new java.awt.Dimension(124, 24));
        jcbCargaMasiva.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jcbCargaMasivaStateChanged(evt);
            }
        });

        jcbAeropuertoE.setText("Editar");
        jcbAeropuertoE.setEnabled(false);

        jcbAeropuertoR.setText("Registrar");
        jcbAeropuertoR.setEnabled(false);

        jcbAeropuertoB.setText("Buscar");
        jcbAeropuertoB.setEnabled(false);

        jSeparator17.setOrientation(javax.swing.SwingConstants.VERTICAL);

        jcbCargaVueloC.setText("Cargar");
        jcbCargaVueloC.setEnabled(false);

        jcbCargaMasivaC.setText("Cargar");
        jcbCargaMasivaC.setEnabled(false);
        jcbCargaMasivaC.setPreferredSize(new java.awt.Dimension(88, 24));

        jcbTAdm.setText("Todos");
        jcbTAdm.setMaximumSize(new java.awt.Dimension(124, 24));
        jcbTAdm.setMinimumSize(new java.awt.Dimension(124, 24));
        jcbTAdm.setPreferredSize(new java.awt.Dimension(124, 24));
        jcbTAdm.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jcbTAdmStateChanged(evt);
            }
        });

        jcbTCargaVuelo.setText("Todos");
        jcbTCargaVuelo.setEnabled(false);
        jcbTCargaVuelo.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jcbTCargaVueloStateChanged(evt);
            }
        });

        jcbTAeropuerto.setText("Todos");
        jcbTAeropuerto.setEnabled(false);
        jcbTAeropuerto.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jcbTAeropuertoStateChanged(evt);
            }
        });

        jcbTCargaMasiva.setText("Todos");
        jcbTCargaMasiva.setEnabled(false);
        jcbTCargaMasiva.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jcbTCargaMasivaStateChanged(evt);
            }
        });

        jcbCargaVueloB.setText("Buscar");
        jcbCargaVueloB.setEnabled(false);

        jcbCargaVueloA.setText("Abrir");
        jcbCargaVueloA.setEnabled(false);
        jcbCargaVueloA.setPreferredSize(new java.awt.Dimension(67, 24));

        jcbCargaVueloM.setText("Mostrar");
        jcbCargaVueloM.setEnabled(false);
        jcbCargaVueloM.setPreferredSize(new java.awt.Dimension(88, 24));

        jcbCargaMasivaA.setText("Abrir");
        jcbCargaMasivaA.setEnabled(false);
        jcbCargaMasivaA.setPreferredSize(new java.awt.Dimension(74, 24));

        javax.swing.GroupLayout pnAdministracionLayout = new javax.swing.GroupLayout(pnAdministracion);
        pnAdministracion.setLayout(pnAdministracionLayout);
        pnAdministracionLayout.setHorizontalGroup(
            pnAdministracionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnAdministracionLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pnAdministracionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jcbCargaMasiva, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jcbCargaVuelo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jcbAeropuerto, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jcbTAdm, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jSeparator17, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(pnAdministracionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(pnAdministracionLayout.createSequentialGroup()
                        .addGap(1, 1, 1)
                        .addGroup(pnAdministracionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jcbCargaVueloB)
                            .addComponent(jcbCargaMasivaA, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jcbAeropuertoB))
                        .addGap(18, 18, 18)
                        .addGroup(pnAdministracionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(pnAdministracionLayout.createSequentialGroup()
                                .addGroup(pnAdministracionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jcbAeropuertoR)
                                    .addComponent(jcbCargaVueloM, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(pnAdministracionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jcbAeropuertoE)
                                    .addComponent(jcbCargaVueloA, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(jcbCargaVueloC))
                            .addComponent(jcbCargaMasivaC, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addGroup(pnAdministracionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jcbTCargaMasiva, javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jcbTCargaVuelo, javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jcbTAeropuerto, javax.swing.GroupLayout.Alignment.TRAILING)))
                    .addComponent(jSeparator19, javax.swing.GroupLayout.PREFERRED_SIZE, 505, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jSeparator18, javax.swing.GroupLayout.PREFERRED_SIZE, 505, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(16, 16, 16))
        );
        pnAdministracionLayout.setVerticalGroup(
            pnAdministracionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jSeparator17, javax.swing.GroupLayout.Alignment.TRAILING)
            .addGroup(pnAdministracionLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pnAdministracionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
                    .addComponent(jcbAeropuertoB)
                    .addComponent(jcbAeropuertoR)
                    .addComponent(jcbAeropuertoE)
                    .addComponent(jcbTAeropuerto)
                    .addComponent(jcbAeropuerto, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jSeparator18, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(pnAdministracionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
                    .addComponent(jcbCargaVueloB)
                    .addComponent(jcbCargaVueloM, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jcbCargaVueloA, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jcbCargaVueloC)
                    .addComponent(jcbTCargaVuelo)
                    .addComponent(jcbCargaVuelo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jSeparator19, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(pnAdministracionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
                    .addComponent(jcbCargaMasivaA, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jcbCargaMasivaC, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jcbTCargaMasiva)
                    .addComponent(jcbCargaMasiva, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 77, Short.MAX_VALUE)
                .addComponent(jcbTAdm, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );

        tabPerfil.addTab("Administración", pnAdministracion);

        pnEnvio.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
        pnEnvio.setMaximumSize(new java.awt.Dimension(683, 245));
        pnEnvio.setMinimumSize(new java.awt.Dimension(683, 245));
        pnEnvio.setPreferredSize(new java.awt.Dimension(683, 245));

        jcbVuelo.setText("Vuelos");
        jcbVuelo.setMaximumSize(new java.awt.Dimension(124, 24));
        jcbVuelo.setMinimumSize(new java.awt.Dimension(124, 24));
        jcbVuelo.setPreferredSize(new java.awt.Dimension(124, 24));
        jcbVuelo.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jcbVueloStateChanged(evt);
            }
        });

        jcbCliente.setText("Clientes");
        jcbCliente.setMaximumSize(new java.awt.Dimension(124, 24));
        jcbCliente.setMinimumSize(new java.awt.Dimension(124, 24));
        jcbCliente.setPreferredSize(new java.awt.Dimension(124, 24));
        jcbCliente.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jcbClienteStateChanged(evt);
            }
        });

        jcbAlmacen.setText("Almacenes");
        jcbAlmacen.setMaximumSize(new java.awt.Dimension(124, 24));
        jcbAlmacen.setMinimumSize(new java.awt.Dimension(124, 24));
        jcbAlmacen.setPreferredSize(new java.awt.Dimension(124, 24));
        jcbAlmacen.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jcbAlmacenStateChanged(evt);
            }
        });

        jcbVueloB.setText("Buscar");
        jcbVueloB.setEnabled(false);

        jSeparator8.setOrientation(javax.swing.SwingConstants.VERTICAL);

        jcbClienteB.setText("Buscar");
        jcbClienteB.setEnabled(false);

        jcbClienteR.setText("Registrar");
        jcbClienteR.setEnabled(false);

        jcbClienteE.setText("Editar");
        jcbClienteE.setEnabled(false);
        jcbClienteE.setMaximumSize(new java.awt.Dimension(81, 24));
        jcbClienteE.setMinimumSize(new java.awt.Dimension(81, 24));
        jcbClienteE.setPreferredSize(new java.awt.Dimension(81, 24));

        jcbAlmacenB.setText("Buscar");
        jcbAlmacenB.setEnabled(false);

        jcbAlmacenR.setText("Registrar");
        jcbAlmacenR.setEnabled(false);

        jcbAlmacenE.setText("Entrada");
        jcbAlmacenE.setEnabled(false);

        jcbTEnv.setText("Todos");
        jcbTEnv.setMaximumSize(new java.awt.Dimension(124, 24));
        jcbTEnv.setMinimumSize(new java.awt.Dimension(124, 24));
        jcbTEnv.setPreferredSize(new java.awt.Dimension(124, 24));
        jcbTEnv.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jcbTEnvStateChanged(evt);
            }
        });

        jcbTAlmacen.setText("Todos");
        jcbTAlmacen.setEnabled(false);
        jcbTAlmacen.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jcbTAlmacenStateChanged(evt);
            }
        });

        jcbTVuelo.setText("Todos");
        jcbTVuelo.setEnabled(false);
        jcbTVuelo.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jcbTVueloStateChanged(evt);
            }
        });

        jcbTCliente.setText("Todos");
        jcbTCliente.setEnabled(false);
        jcbTCliente.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jcbTClienteStateChanged(evt);
            }
        });

        jcbRepEnvio.setText("Reporte");
        jcbRepEnvio.setMaximumSize(new java.awt.Dimension(124, 24));
        jcbRepEnvio.setMinimumSize(new java.awt.Dimension(124, 24));
        jcbRepEnvio.setPreferredSize(new java.awt.Dimension(124, 24));
        jcbRepEnvio.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jcbRepEnvioStateChanged(evt);
            }
        });

        jcbRepEnvioB.setText("Buscar");
        jcbRepEnvioB.setEnabled(false);

        jcbRepEnvioG.setText("Generar");
        jcbRepEnvioG.setEnabled(false);
        jcbRepEnvioG.setMaximumSize(new java.awt.Dimension(88, 24));
        jcbRepEnvioG.setMinimumSize(new java.awt.Dimension(88, 24));
        jcbRepEnvioG.setPreferredSize(new java.awt.Dimension(88, 24));

        jcbTRepEnvio.setText("Todos");
        jcbTRepEnvio.setEnabled(false);
        jcbTRepEnvio.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jcbTRepEnvioStateChanged(evt);
            }
        });

        jcbAlmacenS.setText("Salida");
        jcbAlmacenS.setEnabled(false);
        jcbAlmacenS.setMaximumSize(new java.awt.Dimension(81, 24));
        jcbAlmacenS.setMinimumSize(new java.awt.Dimension(81, 24));
        jcbAlmacenS.setPreferredSize(new java.awt.Dimension(81, 24));

        javax.swing.GroupLayout pnEnvioLayout = new javax.swing.GroupLayout(pnEnvio);
        pnEnvio.setLayout(pnEnvioLayout);
        pnEnvioLayout.setHorizontalGroup(
            pnEnvioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnEnvioLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pnEnvioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jcbVuelo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jcbCliente, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jcbAlmacen, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jcbRepEnvio, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jcbTEnv, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jSeparator8, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(pnEnvioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addGroup(pnEnvioLayout.createSequentialGroup()
                        .addGroup(pnEnvioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jcbVueloB)
                            .addComponent(jcbClienteB)
                            .addComponent(jcbAlmacenB)
                            .addComponent(jcbRepEnvioB))
                        .addGap(18, 18, 18)
                        .addGroup(pnEnvioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jcbClienteR, javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jcbAlmacenR, javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jcbRepEnvioG, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(18, 18, 18)
                        .addGroup(pnEnvioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(pnEnvioLayout.createSequentialGroup()
                                .addComponent(jcbAlmacenE)
                                .addGap(18, 18, 18)
                                .addComponent(jcbAlmacenS, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(jcbClienteE, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addGroup(pnEnvioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jcbTRepEnvio, javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jcbTAlmacen, javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jcbTCliente, javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jcbTVuelo, javax.swing.GroupLayout.Alignment.TRAILING)))
                    .addComponent(jSeparator13, javax.swing.GroupLayout.PREFERRED_SIZE, 505, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jSeparator22, javax.swing.GroupLayout.PREFERRED_SIZE, 505, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jSeparator10, javax.swing.GroupLayout.PREFERRED_SIZE, 505, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(1090, 1090, 1090)
                .addComponent(jSeparator20, javax.swing.GroupLayout.PREFERRED_SIZE, 579, javax.swing.GroupLayout.PREFERRED_SIZE))
        );
        pnEnvioLayout.setVerticalGroup(
            pnEnvioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnEnvioLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pnEnvioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
                    .addComponent(jcbVueloB)
                    .addComponent(jcbTVuelo)
                    .addComponent(jcbVuelo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jSeparator13, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(5, 5, 5)
                .addGroup(pnEnvioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
                    .addComponent(jcbClienteB)
                    .addComponent(jcbClienteR)
                    .addComponent(jcbClienteE, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jcbTCliente)
                    .addComponent(jcbCliente, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jSeparator10, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(pnEnvioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
                    .addComponent(jcbAlmacenB)
                    .addComponent(jcbAlmacenR)
                    .addComponent(jcbAlmacenE)
                    .addComponent(jcbAlmacenS, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jcbTAlmacen)
                    .addComponent(jcbAlmacen, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jSeparator22, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(pnEnvioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
                    .addComponent(jcbRepEnvioB)
                    .addComponent(jcbRepEnvioG, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jcbTRepEnvio)
                    .addComponent(jcbRepEnvio, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(jcbTEnv, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(12, 12, 12))
            .addGroup(pnEnvioLayout.createSequentialGroup()
                .addGap(133, 133, 133)
                .addComponent(jSeparator20, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(98, Short.MAX_VALUE))
            .addComponent(jSeparator8, javax.swing.GroupLayout.Alignment.TRAILING)
        );

        tabPerfil.addTab("Envíos", pnEnvio);

        pnSimulacion.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
        pnSimulacion.setMaximumSize(new java.awt.Dimension(683, 245));
        pnSimulacion.setMinimumSize(new java.awt.Dimension(683, 245));
        pnSimulacion.setPreferredSize(new java.awt.Dimension(683, 245));

        jcbSimulacion.setText("Simulador");
        jcbSimulacion.setMaximumSize(new java.awt.Dimension(124, 24));
        jcbSimulacion.setMinimumSize(new java.awt.Dimension(124, 24));
        jcbSimulacion.setPreferredSize(new java.awt.Dimension(124, 24));
        jcbSimulacion.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jcbSimulacionStateChanged(evt);
            }
        });

        jSeparator11.setOrientation(javax.swing.SwingConstants.VERTICAL);

        jcbSimulacionS.setText("Simular");
        jcbSimulacionS.setEnabled(false);

        jcbSimulacionG.setText("Generar");
        jcbSimulacionG.setEnabled(false);

        jcbTSim.setText("Todos");
        jcbTSim.setMaximumSize(new java.awt.Dimension(124, 24));
        jcbTSim.setMinimumSize(new java.awt.Dimension(124, 24));
        jcbTSim.setPreferredSize(new java.awt.Dimension(124, 24));
        jcbTSim.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jcbTSimStateChanged(evt);
            }
        });

        jcbTSimulador.setText("Todos");
        jcbTSimulador.setEnabled(false);
        jcbTSimulador.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jcbTSimuladorStateChanged(evt);
            }
        });

        jcbSimulacionB.setText(" Buscar");
        jcbSimulacionB.setEnabled(false);

        javax.swing.GroupLayout pnSimulacionLayout = new javax.swing.GroupLayout(pnSimulacion);
        pnSimulacion.setLayout(pnSimulacionLayout);
        pnSimulacionLayout.setHorizontalGroup(
            pnSimulacionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnSimulacionLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pnSimulacionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jcbSimulacion, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jcbTSim, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jSeparator11, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jcbSimulacionB)
                .addGap(18, 18, 18)
                .addComponent(jcbSimulacionG)
                .addGap(18, 18, 18)
                .addComponent(jcbSimulacionS)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 159, Short.MAX_VALUE)
                .addComponent(jcbTSimulador)
                .addGap(16, 16, 16))
        );
        pnSimulacionLayout.setVerticalGroup(
            pnSimulacionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jSeparator11, javax.swing.GroupLayout.Alignment.TRAILING)
            .addGroup(pnSimulacionLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pnSimulacionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, pnSimulacionLayout.createSequentialGroup()
                        .addComponent(jcbSimulacion, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 169, Short.MAX_VALUE)
                        .addComponent(jcbTSim, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(pnSimulacionLayout.createSequentialGroup()
                        .addGroup(pnSimulacionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jcbTSimulador)
                            .addComponent(jcbSimulacionG)
                            .addComponent(jcbSimulacionB)
                            .addComponent(jcbSimulacionS))
                        .addGap(0, 0, Short.MAX_VALUE)))
                .addContainerGap())
        );

        tabPerfil.addTab("Simulación", pnSimulacion);

        pnReporte.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
        pnReporte.setMaximumSize(new java.awt.Dimension(683, 245));
        pnReporte.setMinimumSize(new java.awt.Dimension(683, 245));
        pnReporte.setPreferredSize(new java.awt.Dimension(683, 245));

        jcbRepKardex.setText("Kardex");
        jcbRepKardex.setMaximumSize(new java.awt.Dimension(124, 24));
        jcbRepKardex.setMinimumSize(new java.awt.Dimension(124, 24));
        jcbRepKardex.setPreferredSize(new java.awt.Dimension(124, 24));
        jcbRepKardex.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jcbRepKardexStateChanged(evt);
            }
        });

        jcbRepAlmacen.setText("Almacen");
        jcbRepAlmacen.setMaximumSize(new java.awt.Dimension(124, 24));
        jcbRepAlmacen.setMinimumSize(new java.awt.Dimension(124, 24));
        jcbRepAlmacen.setPreferredSize(new java.awt.Dimension(124, 24));
        jcbRepAlmacen.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jcbRepAlmacenStateChanged(evt);
            }
        });

        jcbRepCancelacion.setText("Cancelación");
        jcbRepCancelacion.setMaximumSize(new java.awt.Dimension(124, 24));
        jcbRepCancelacion.setMinimumSize(new java.awt.Dimension(124, 24));
        jcbRepCancelacion.setPreferredSize(new java.awt.Dimension(124, 24));
        jcbRepCancelacion.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jcbRepCancelacionStateChanged(evt);
            }
        });

        jcbRepKardexG.setText("Generar");
        jcbRepKardexG.setEnabled(false);

        jSeparator14.setOrientation(javax.swing.SwingConstants.VERTICAL);

        jcbRepCancelacionG.setText("Generar");
        jcbRepCancelacionG.setEnabled(false);

        jcbRepAlmacenG.setText("Generar");
        jcbRepAlmacenG.setEnabled(false);

        jcbTRep.setText("Todos");
        jcbTRep.setMaximumSize(new java.awt.Dimension(124, 24));
        jcbTRep.setMinimumSize(new java.awt.Dimension(124, 24));
        jcbTRep.setPreferredSize(new java.awt.Dimension(124, 24));
        jcbTRep.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jcbTRepStateChanged(evt);
            }
        });

        jcbTRepKardex.setText("Todos");
        jcbTRepKardex.setEnabled(false);
        jcbTRepKardex.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jcbTRepKardexStateChanged(evt);
            }
        });

        jcbTRepCancelacion.setText("Todos");
        jcbTRepCancelacion.setEnabled(false);
        jcbTRepCancelacion.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jcbTRepCancelacionStateChanged(evt);
            }
        });

        jcbTRepAlmacen.setText("Todos");
        jcbTRepAlmacen.setEnabled(false);
        jcbTRepAlmacen.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jcbTRepAlmacenStateChanged(evt);
            }
        });

        jcbRepKardexB.setText("Buscar");
        jcbRepKardexB.setEnabled(false);

        jcbRepCancelacionB.setText("Buscar");
        jcbRepCancelacionB.setEnabled(false);

        jcbRepAlmacenB.setText("Buscar");
        jcbRepAlmacenB.setEnabled(false);

        javax.swing.GroupLayout pnReporteLayout = new javax.swing.GroupLayout(pnReporte);
        pnReporte.setLayout(pnReporteLayout);
        pnReporteLayout.setHorizontalGroup(
            pnReporteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnReporteLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pnReporteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jcbRepAlmacen, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jcbRepCancelacion, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jcbRepKardex, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jcbTRep, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jSeparator14, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(pnReporteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(pnReporteLayout.createSequentialGroup()
                        .addGroup(pnReporteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jcbRepKardexB)
                            .addComponent(jcbRepAlmacenB)
                            .addComponent(jcbRepCancelacionB))
                        .addGap(18, 18, 18)
                        .addGroup(pnReporteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jcbRepAlmacenG)
                            .addComponent(jcbRepCancelacionG)
                            .addComponent(jcbRepKardexG))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addGroup(pnReporteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jcbTRepKardex, javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jcbTRepCancelacion, javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jcbTRepAlmacen, javax.swing.GroupLayout.Alignment.TRAILING)))
                    .addComponent(jSeparator15, javax.swing.GroupLayout.PREFERRED_SIZE, 505, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jSeparator16, javax.swing.GroupLayout.PREFERRED_SIZE, 505, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(16, Short.MAX_VALUE))
        );
        pnReporteLayout.setVerticalGroup(
            pnReporteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jSeparator14)
            .addGroup(pnReporteLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pnReporteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, pnReporteLayout.createSequentialGroup()
                        .addComponent(jcbRepKardex, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(22, 22, 22)
                        .addComponent(jcbRepCancelacion, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(21, 21, 21)
                        .addComponent(jcbRepAlmacen, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 78, Short.MAX_VALUE)
                        .addComponent(jcbTRep, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(pnReporteLayout.createSequentialGroup()
                        .addGroup(pnReporteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
                            .addComponent(jcbTRepKardex)
                            .addComponent(jcbRepKardexG)
                            .addComponent(jcbRepKardexB))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jSeparator15, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(pnReporteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
                            .addComponent(jcbRepCancelacionB)
                            .addComponent(jcbRepCancelacionG)
                            .addComponent(jcbTRepCancelacion))
                        .addGap(5, 5, 5)
                        .addComponent(jSeparator16, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(pnReporteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
                            .addComponent(jcbRepAlmacenB)
                            .addComponent(jcbRepAlmacenG)
                            .addComponent(jcbTRepAlmacen))
                        .addGap(0, 0, Short.MAX_VALUE)))
                .addContainerGap())
        );

        tabPerfil.addTab("Reportes", pnReporte);

        javax.swing.GroupLayout jPanel8Layout = new javax.swing.GroupLayout(jPanel8);
        jPanel8.setLayout(jPanel8Layout);
        jPanel8Layout.setHorizontalGroup(
            jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel8Layout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(tabPerfil, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 683, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel8Layout.createSequentialGroup()
                        .addComponent(btnGuardar, javax.swing.GroupLayout.PREFERRED_SIZE, 44, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnLimpiar, javax.swing.GroupLayout.PREFERRED_SIZE, 44, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnCancelar, javax.swing.GroupLayout.PREFERRED_SIZE, 44, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap())
        );
        jPanel8Layout.setVerticalGroup(
            jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel8Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(tabPerfil, javax.swing.GroupLayout.DEFAULT_SIZE, 278, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(btnGuardar, javax.swing.GroupLayout.PREFERRED_SIZE, 44, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnLimpiar, javax.swing.GroupLayout.PREFERRED_SIZE, 44, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnCancelar, javax.swing.GroupLayout.PREFERRED_SIZE, 44, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap())
        );

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                        .addGap(21, 21, 21)
                        .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jPanel8, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPanel8, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents
      
    private void jcbAeropuertoStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jcbAeropuertoStateChanged
        if (jcbAeropuerto.isSelected()){
            jcbAeropuertoB.setEnabled(true);
            jcbAeropuertoR.setEnabled(true);
            jcbAeropuertoE.setEnabled(true);   
            jcbTAeropuerto.setEnabled(true);
        }
        else{
            jcbAeropuertoB.setSelected(false);
            jcbAeropuertoR.setSelected(false);
            jcbAeropuertoE.setSelected(false);    
            jcbTAeropuerto.setSelected(false);
            jcbAeropuertoB.setEnabled(false);
            jcbAeropuertoR.setEnabled(false);
            jcbAeropuertoE.setEnabled(false);                
            jcbTAeropuerto.setEnabled(false);
        }
    }//GEN-LAST:event_jcbAeropuertoStateChanged

    private void jcbCargaVueloStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jcbCargaVueloStateChanged
        if (jcbCargaVuelo.isSelected()){
            jcbCargaVueloC.setEnabled(true);
            jcbCargaVueloM.setEnabled(true);
            jcbCargaVueloA.setEnabled(true);
            jcbCargaVueloB.setEnabled(true);
            jcbTCargaVuelo.setEnabled(true);
        }
        else{
            jcbCargaVueloC.setSelected(false);
            jcbCargaVueloM.setSelected(false);
            jcbCargaVueloA.setSelected(false);
            jcbCargaVueloB.setSelected(false);
            jcbTCargaVuelo.setSelected(false);
            jcbCargaVueloC.setEnabled(false);
            jcbCargaVueloM.setEnabled(false);
            jcbCargaVueloA.setEnabled(false);
            jcbCargaVueloB.setEnabled(false);
            jcbTCargaVuelo.setEnabled(false);
        }
    }//GEN-LAST:event_jcbCargaVueloStateChanged

    private void jcbCargaMasivaStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jcbCargaMasivaStateChanged
        if (jcbCargaMasiva.isSelected()){
            jcbCargaMasivaC.setEnabled(true);
            jcbCargaMasivaA.setEnabled(true);
            jcbTCargaMasiva.setEnabled(true);
        }
        else{
            jcbCargaMasivaC.setSelected(false);
            jcbCargaMasivaA.setSelected(false);
            jcbTCargaMasiva.setSelected(false);
            jcbCargaMasivaC.setEnabled(false);
            jcbCargaMasivaA.setEnabled(false);
            jcbTCargaMasiva.setEnabled(false);
        }            
    }//GEN-LAST:event_jcbCargaMasivaStateChanged

    private void jcbSimulacionStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jcbSimulacionStateChanged
        if (jcbSimulacion.isSelected()){
            jcbSimulacionS.setEnabled(true);
            jcbSimulacionB.setEnabled(true);
            jcbSimulacionG.setEnabled(true);
            jcbTSimulador.setEnabled(true);
        }
        else{
            jcbSimulacionS.setSelected(false);
            jcbSimulacionB.setSelected(false);
            jcbSimulacionG.setSelected(false);
            jcbTSimulador.setSelected(false);
            jcbSimulacionS.setEnabled(false);
            jcbSimulacionB.setEnabled(false);
            jcbSimulacionG.setEnabled(false);
            jcbTSimulador.setEnabled(false);
            
        }                   
    }//GEN-LAST:event_jcbSimulacionStateChanged

    private void jcbRepKardexStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jcbRepKardexStateChanged
        if (jcbRepKardex.isSelected()){
            jcbRepKardexB.setEnabled(true);
            jcbRepKardexG.setEnabled(true);
            jcbTRepKardex.setEnabled(true);
        }
        else{
            jcbRepKardexB.setSelected(false);
            jcbRepKardexG.setSelected(false);
            jcbTRepKardex.setSelected(false);
            jcbRepKardexB.setEnabled(false);
            jcbRepKardexG.setEnabled(false);
            jcbTRepKardex.setEnabled(false);
        }           
    }//GEN-LAST:event_jcbRepKardexStateChanged

    private void jcbRepCancelacionStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jcbRepCancelacionStateChanged
        if (jcbRepCancelacion.isSelected()){
            jcbRepCancelacionB.setEnabled(true);
            jcbRepCancelacionG.setEnabled(true);
            jcbTRepCancelacion.setEnabled(true);
        }
        else{
            jcbRepCancelacionG.setSelected(false);
            jcbRepCancelacionB.setSelected(false);
            jcbTRepCancelacion.setSelected(false);
            jcbRepCancelacionG.setEnabled(false);
            jcbRepCancelacionB.setEnabled(false);
            jcbTRepCancelacion.setEnabled(false);
        }           
    }//GEN-LAST:event_jcbRepCancelacionStateChanged

    private void jcbRepAlmacenStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jcbRepAlmacenStateChanged
        if (jcbRepAlmacen.isSelected()){
            jcbRepAlmacenB.setEnabled(true);
            jcbRepAlmacenG.setEnabled(true);
            jcbTRepAlmacen.setEnabled(true);
        }
        else{
            jcbRepAlmacenG.setSelected(false);
            jcbRepAlmacenB.setSelected(false);
            jcbTRepAlmacen.setSelected(false);
            jcbRepAlmacenG.setEnabled(false);
            jcbRepAlmacenB.setEnabled(false);
            jcbTRepAlmacen.setEnabled(false);
        }           
    }//GEN-LAST:event_jcbRepAlmacenStateChanged

    private void jcbAlmacenStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jcbAlmacenStateChanged
        if (jcbAlmacen.isSelected()){
            jcbAlmacenB.setEnabled(true);
            jcbAlmacenE.setEnabled(true);
            jcbAlmacenS.setEnabled(true);
            jcbAlmacenR.setEnabled(true);
            jcbTAlmacen.setEnabled(true);
        }
        else{
            jcbAlmacenB.setSelected(false);
            jcbAlmacenE.setSelected(false);
            jcbAlmacenS.setSelected(false);
            jcbAlmacenR.setSelected(false);
            jcbTAlmacen.setSelected(false);
            jcbAlmacenB.setEnabled(false);
            jcbAlmacenE.setEnabled(false);
            jcbAlmacenS.setEnabled(false);
            jcbAlmacenR.setEnabled(false);
            jcbTAlmacen.setEnabled(false);
        }
    }//GEN-LAST:event_jcbAlmacenStateChanged

    private void jcbClienteStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jcbClienteStateChanged
        if (jcbCliente.isSelected()){
            jcbClienteB.setEnabled(true);
            jcbClienteE.setEnabled(true);
            jcbClienteR.setEnabled(true);
            jcbTCliente.setEnabled(true);
        }
        else{
            jcbClienteB.setSelected(false);
            jcbClienteE.setSelected(false);
            jcbClienteR.setSelected(false);
            jcbTCliente.setSelected(false);
            jcbClienteB.setEnabled(false);
            jcbClienteE.setEnabled(false);
            jcbClienteR.setEnabled(false);
            jcbTCliente.setEnabled(false);
        }
    }//GEN-LAST:event_jcbClienteStateChanged

    private void jcbVueloStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jcbVueloStateChanged
        if (jcbVuelo.isSelected()){
            jcbVueloB.setEnabled(true);
            jcbTVuelo.setEnabled(true);
        }
        else{
            jcbVueloB.setSelected(false);
            jcbTVuelo.setSelected(false);
            jcbVueloB.setEnabled(false);
            jcbTVuelo.setEnabled(false);
        }
    }//GEN-LAST:event_jcbVueloStateChanged

    private void jcbPerfilStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jcbPerfilStateChanged
        if (jcbPerfil.isSelected()){
            jcbPerfilB.setEnabled(true);
            jcbPerfilR.setEnabled(true);
            jcbPerfilE.setEnabled(true);
            jcbPerfilI.setEnabled(true);
            jcbPerfilA.setEnabled(true);
            jcbTPerfil.setEnabled(true);
        }
        else{
            jcbPerfilB.setSelected(false);
            jcbPerfilR.setSelected(false);
            jcbPerfilE.setSelected(false);
            jcbPerfilI.setSelected(false);
            jcbPerfilA.setSelected(false);                        
            jcbTPerfil.setSelected(false);
            jcbPerfilB.setEnabled(false);
            jcbPerfilR.setEnabled(false);
            jcbPerfilE.setEnabled(false);
            jcbPerfilI.setEnabled(false);
            jcbPerfilA.setEnabled(false);              
            jcbTPerfil.setEnabled(false);
        }
    }//GEN-LAST:event_jcbPerfilStateChanged

    private void jcbUsuarioStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jcbUsuarioStateChanged
        if (jcbUsuario.isSelected()){
            jcbUsuarioB.setEnabled(true);
            jcbUsuarioR.setEnabled(true);
            jcbUsuarioE.setEnabled(true);
            jcbUsuarioI.setEnabled(true);
            jcbUsuarioA.setEnabled(true);
            jcbTUsuario.setEnabled(true);
        }
        else{
            jcbUsuarioB.setSelected(false);
            jcbUsuarioR.setSelected(false);
            jcbUsuarioE.setSelected(false);
            jcbUsuarioI.setSelected(false);
            jcbUsuarioA.setSelected(false);            
            jcbTUsuario.setSelected(false);
            jcbUsuarioB.setEnabled(false);
            jcbUsuarioR.setEnabled(false);
            jcbUsuarioE.setEnabled(false);
            jcbUsuarioI.setEnabled(false);
            jcbUsuarioA.setEnabled(false);              
            jcbTUsuario.setEnabled(false);
        }
    }//GEN-LAST:event_jcbUsuarioStateChanged

    private void jcbConfiguracionStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jcbConfiguracionStateChanged
        if (jcbConfiguracion.isSelected()){
            jcbConfiguracionG.setEnabled(true);
            jcbTConfiguracion.setEnabled(true);
        }
        else{
            jcbConfiguracionG.setSelected(false);
            jcbTConfiguracion.setSelected(false);
            jcbConfiguracionG.setEnabled(false);
            jcbTConfiguracion.setEnabled(false);
        }            
    }//GEN-LAST:event_jcbConfiguracionStateChanged

    private void jcbTSegStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jcbTSegStateChanged
        AbstractButton abstractButton = (AbstractButton)evt.getSource();
        ButtonModel b = abstractButton.getModel();
        if (b.isPressed()){
            jcbPerfil.setSelected(true);
            jcbUsuario.setSelected(true);
            jcbConfiguracion.setSelected(true);
            jcbRepAuditoria.setSelected(true);
        }
    }//GEN-LAST:event_jcbTSegStateChanged

    private void jcbTAdmStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jcbTAdmStateChanged
        AbstractButton abstractButton = (AbstractButton)evt.getSource();
        ButtonModel b = abstractButton.getModel();
        if (b.isPressed()){
            jcbAeropuerto.setSelected(true);
            jcbCargaVuelo.setSelected(true);
            jcbCargaMasiva.setSelected(true);
        }
    }//GEN-LAST:event_jcbTAdmStateChanged

    private void jcbTEnvStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jcbTEnvStateChanged
        AbstractButton abstractButton = (AbstractButton)evt.getSource();
        ButtonModel b = abstractButton.getModel();
        if (b.isPressed()){
            jcbVuelo.setSelected(true);
            jcbCliente.setSelected(true);
            jcbAlmacen.setSelected(true);
            jcbRepEnvio.setSelected(true);
        }
    }//GEN-LAST:event_jcbTEnvStateChanged

    private void jcbTSimStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jcbTSimStateChanged
        AbstractButton abstractButton = (AbstractButton)evt.getSource();
        ButtonModel b = abstractButton.getModel();
        if (b.isPressed()){
            jcbSimulacion.setSelected(true);          
        }
    }//GEN-LAST:event_jcbTSimStateChanged

    private void jcbTRepStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jcbTRepStateChanged
        AbstractButton abstractButton = (AbstractButton)evt.getSource();
        ButtonModel b = abstractButton.getModel();
        if (b.isPressed()){
            jcbRepKardex.setSelected(true);
            jcbRepCancelacion.setSelected(true);            
            jcbRepAlmacen.setSelected(true);                        
        }
    }//GEN-LAST:event_jcbTRepStateChanged

    private void jcbTPerfilStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jcbTPerfilStateChanged
        AbstractButton abstractButton = (AbstractButton)evt.getSource();
        ButtonModel b = abstractButton.getModel();
        if (b.isPressed()){
            jcbPerfilB.setSelected(true);
            jcbPerfilR.setSelected(true);
            jcbPerfilE.setSelected(true);
            jcbPerfilI.setSelected(true);
            jcbPerfilA.setSelected(true);                      
        }
    }//GEN-LAST:event_jcbTPerfilStateChanged

    private void jcbTUsuarioStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jcbTUsuarioStateChanged
        AbstractButton abstractButton = (AbstractButton)evt.getSource();
        ButtonModel b = abstractButton.getModel();
        if (b.isPressed()){
            jcbUsuarioB.setSelected(true);
            jcbUsuarioR.setSelected(true);
            jcbUsuarioE.setSelected(true);
            jcbUsuarioI.setSelected(true);
            jcbUsuarioA.setSelected(true);                      
        }
    }//GEN-LAST:event_jcbTUsuarioStateChanged

    private void jcbTConfiguracionStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jcbTConfiguracionStateChanged
        AbstractButton abstractButton = (AbstractButton)evt.getSource();
        ButtonModel b = abstractButton.getModel();
        if (b.isPressed()){
            jcbConfiguracionG.setSelected(true);
                   
        }
    }//GEN-LAST:event_jcbTConfiguracionStateChanged

    private void jcbTAeropuertoStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jcbTAeropuertoStateChanged
        AbstractButton abstractButton = (AbstractButton)evt.getSource();
        ButtonModel b = abstractButton.getModel();
        if (b.isPressed()){
            jcbAeropuertoB.setSelected(true);
            jcbAeropuertoR.setSelected(true);
            jcbAeropuertoE.setSelected(true);
        }
    }//GEN-LAST:event_jcbTAeropuertoStateChanged

    private void jcbTCargaVueloStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jcbTCargaVueloStateChanged
        AbstractButton abstractButton = (AbstractButton)evt.getSource();
        ButtonModel b = abstractButton.getModel();
        if (b.isPressed()){
            jcbCargaVueloC.setSelected(true);
            jcbCargaVueloA.setSelected(true);
            jcbCargaVueloM.setSelected(true);
            jcbCargaVueloB.setSelected(true);
                     
        }
    }//GEN-LAST:event_jcbTCargaVueloStateChanged

    private void jcbTCargaMasivaStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jcbTCargaMasivaStateChanged
        AbstractButton abstractButton = (AbstractButton)evt.getSource();
        ButtonModel b = abstractButton.getModel();
        if (b.isPressed()){
            jcbCargaMasivaC.setSelected(true);                     
            jcbCargaMasivaA.setSelected(true);  
        }
    }//GEN-LAST:event_jcbTCargaMasivaStateChanged

    private void jcbTVueloStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jcbTVueloStateChanged
        AbstractButton abstractButton = (AbstractButton)evt.getSource();
        ButtonModel b = abstractButton.getModel();
        if (b.isPressed()){
            jcbVueloB.setSelected(true);                   
        }
    }//GEN-LAST:event_jcbTVueloStateChanged

    private void jcbTClienteStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jcbTClienteStateChanged
        AbstractButton abstractButton = (AbstractButton)evt.getSource();
        ButtonModel b = abstractButton.getModel();
        if (b.isPressed()){
            jcbClienteB.setSelected(true);
            jcbClienteR.setSelected(true);
            jcbClienteE.setSelected(true);                    
        }
    }//GEN-LAST:event_jcbTClienteStateChanged

    private void jcbTAlmacenStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jcbTAlmacenStateChanged
        AbstractButton abstractButton = (AbstractButton)evt.getSource();
        ButtonModel b = abstractButton.getModel();
        if (b.isPressed()){
            jcbAlmacenB.setSelected(true);
            jcbAlmacenR.setSelected(true);
            jcbAlmacenE.setSelected(true);                     
            jcbAlmacenS.setSelected(true);   
        }
    }//GEN-LAST:event_jcbTAlmacenStateChanged

    private void jcbTSimuladorStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jcbTSimuladorStateChanged
        AbstractButton abstractButton = (AbstractButton)evt.getSource();
        ButtonModel b = abstractButton.getModel();
        if (b.isPressed()){
            jcbSimulacionS.setSelected(true);
            jcbSimulacionG.setSelected(true);
            jcbSimulacionB.setSelected(true);
        }
    }//GEN-LAST:event_jcbTSimuladorStateChanged

    private void jcbTRepKardexStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jcbTRepKardexStateChanged
        AbstractButton abstractButton = (AbstractButton)evt.getSource();
        ButtonModel b = abstractButton.getModel();
        if (b.isPressed()){
            jcbRepKardexG.setSelected(true);                  
            jcbRepKardexB.setSelected(true);     
        }
    }//GEN-LAST:event_jcbTRepKardexStateChanged

    private void jcbTRepCancelacionStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jcbTRepCancelacionStateChanged
        AbstractButton abstractButton = (AbstractButton)evt.getSource();
        ButtonModel b = abstractButton.getModel();
        if (b.isPressed()){
            jcbRepCancelacionG.setSelected(true);                     
            jcbRepCancelacionB.setSelected(true);
        }
    }//GEN-LAST:event_jcbTRepCancelacionStateChanged

    private void jcbTRepAlmacenStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jcbTRepAlmacenStateChanged
        AbstractButton abstractButton = (AbstractButton)evt.getSource();
        ButtonModel b = abstractButton.getModel();
        if (b.isPressed()){
            jcbRepAlmacenG.setSelected(true);                  
            jcbRepAlmacenB.setSelected(true);                  
        }
    }//GEN-LAST:event_jcbTRepAlmacenStateChanged

    private void txtDescKeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_txtDescKeyTyped
        String car = txtDesc.getText();
        if(car.length()>=50) {
            evt.consume();
        }    
        ValHelper.soloDigitoTextoPuntuacion(evt);
    }//GEN-LAST:event_txtDescKeyTyped

    private void jcbRepAuditoriaStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jcbRepAuditoriaStateChanged
        if (jcbRepAuditoria.isSelected()){
            jcbRepAuditoriaB.setEnabled(true);
            jcbRepAuditoriaG.setEnabled(true);
            jcbTRepAuditoria.setEnabled(true);
        }
        else{
            jcbRepAuditoriaB.setSelected(false);
            jcbRepAuditoriaG.setSelected(false);
            jcbTRepAuditoria.setSelected(false);
            jcbRepAuditoriaB.setEnabled(false);
            jcbRepAuditoriaG.setEnabled(false);
            jcbTRepAuditoria.setEnabled(false);
        }
    }//GEN-LAST:event_jcbRepAuditoriaStateChanged

    private void jcbRepAuditoriaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jcbRepAuditoriaActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jcbRepAuditoriaActionPerformed

    private void jcbRepEnvioStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jcbRepEnvioStateChanged
        if (jcbRepEnvio.isSelected()){
            jcbRepEnvioB.setEnabled(true);
            jcbRepEnvioG.setEnabled(true);
            jcbTRepEnvio.setEnabled(true);
        }
        else{
            jcbRepEnvioB.setSelected(false);
            jcbRepEnvioG.setSelected(false);
            jcbTRepEnvio.setSelected(false);
            jcbRepEnvioB.setEnabled(false);
            jcbRepEnvioG.setEnabled(false);
            jcbTRepEnvio.setEnabled(false);
        }
    }//GEN-LAST:event_jcbRepEnvioStateChanged

    private void jcbTRepAuditoriaStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jcbTRepAuditoriaStateChanged
        AbstractButton abstractButton = (AbstractButton)evt.getSource();
        ButtonModel b = abstractButton.getModel();
        if (b.isPressed()){
            jcbRepAuditoriaB.setSelected(true);
            jcbRepAuditoriaG.setSelected(true);
                   
        }
    }//GEN-LAST:event_jcbTRepAuditoriaStateChanged

    private void jcbTRepEnvioStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jcbTRepEnvioStateChanged
        AbstractButton abstractButton = (AbstractButton)evt.getSource();
        ButtonModel b = abstractButton.getModel();
        if (b.isPressed()){
            jcbRepEnvioB.setSelected(true);
            jcbRepEnvioG.setSelected(true);
                   
        }
    }//GEN-LAST:event_jcbTRepEnvioStateChanged

    
    public void LimpiarDatos(){
        txtDesc.setText("");
        spnTCambioPass.setValue(1);
        jcbPerfil.setSelected(false);
        jcbUsuario.setSelected(false);
        jcbConfiguracion.setSelected(false);
        jcbAeropuerto.setSelected(false);
        jcbCargaVuelo.setSelected(false);
        jcbCargaMasiva.setSelected(false);
        jcbVuelo.setSelected(false);
        jcbCliente.setSelected(false);                
        jcbAlmacen.setSelected(false);
        jcbSimulacion.setSelected(false);
        jcbRepKardex.setSelected(false);
        jcbRepCancelacion.setSelected(false);                
        jcbRepAlmacen.setSelected(false);
        jcbPerfilB.setSelected(false);
        jcbPerfilR.setSelected(false);
        jcbPerfilE.setSelected(false);
        jcbPerfilI.setSelected(false);
        jcbPerfilA.setSelected(false);
        jcbUsuarioB.setSelected(false);
        jcbUsuarioR.setSelected(false);
        jcbUsuarioE.setSelected(false);
        jcbUsuarioI.setSelected(false);
        jcbUsuarioA.setSelected(false);
        jcbConfiguracionG.setSelected(false);
        jcbAeropuertoB.setSelected(false);
        jcbAeropuertoR.setSelected(false);
        jcbAeropuertoE.setSelected(false);
        jcbCargaVueloC.setSelected(false);
        jcbCargaMasivaC.setSelected(false);
        jcbVueloB.setSelected(false);
        jcbClienteB.setSelected(false);
        jcbClienteR.setSelected(false);
        jcbClienteE.setSelected(false);                                                
        jcbAlmacenB.setSelected(false);
        jcbAlmacenR.setSelected(false);
        jcbAlmacenE.setSelected(false);
        jcbSimulacionS.setSelected(false);
        jcbSimulacionG.setSelected(false);
        jcbRepKardexG.setSelected(false);
        jcbRepCancelacionG.setSelected(false);                
        jcbRepAlmacenG.setSelected(false);        
    }    
    
    public void addGuardarListener(ActionListener ml){ this.btnGuardar.addActionListener(ml); }
        
    public void addLimpiarListener(ActionListener ml){ this.btnLimpiar.addActionListener(ml); }     

    public void addCancelarListener(ActionListener ml){ this.btnCancelar.addActionListener(ml); }     
  
    /**
     * @param args the command line arguments
     */
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btnCancelar;
    private javax.swing.JButton btnGuardar;
    private javax.swing.JButton btnLimpiar;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel8;
    private javax.swing.JSeparator jSeparator10;
    private javax.swing.JSeparator jSeparator11;
    private javax.swing.JSeparator jSeparator13;
    private javax.swing.JSeparator jSeparator14;
    private javax.swing.JSeparator jSeparator15;
    private javax.swing.JSeparator jSeparator16;
    private javax.swing.JSeparator jSeparator17;
    private javax.swing.JSeparator jSeparator18;
    private javax.swing.JSeparator jSeparator19;
    private javax.swing.JSeparator jSeparator20;
    private javax.swing.JSeparator jSeparator22;
    private javax.swing.JSeparator jSeparator27;
    private javax.swing.JSeparator jSeparator28;
    private javax.swing.JSeparator jSeparator29;
    private javax.swing.JSeparator jSeparator30;
    private javax.swing.JSeparator jSeparator8;
    private javax.swing.JCheckBox jcbAeropuerto;
    private javax.swing.JCheckBox jcbAeropuertoB;
    private javax.swing.JCheckBox jcbAeropuertoE;
    private javax.swing.JCheckBox jcbAeropuertoR;
    private javax.swing.JCheckBox jcbAlmacen;
    private javax.swing.JCheckBox jcbAlmacenB;
    private javax.swing.JCheckBox jcbAlmacenE;
    private javax.swing.JCheckBox jcbAlmacenR;
    private javax.swing.JCheckBox jcbAlmacenS;
    private javax.swing.JCheckBox jcbCargaMasiva;
    private javax.swing.JCheckBox jcbCargaMasivaA;
    private javax.swing.JCheckBox jcbCargaMasivaC;
    private javax.swing.JCheckBox jcbCargaVuelo;
    private javax.swing.JCheckBox jcbCargaVueloA;
    private javax.swing.JCheckBox jcbCargaVueloB;
    private javax.swing.JCheckBox jcbCargaVueloC;
    private javax.swing.JCheckBox jcbCargaVueloM;
    private javax.swing.JCheckBox jcbCliente;
    private javax.swing.JCheckBox jcbClienteB;
    private javax.swing.JCheckBox jcbClienteE;
    private javax.swing.JCheckBox jcbClienteR;
    private javax.swing.JCheckBox jcbConfiguracion;
    private javax.swing.JCheckBox jcbConfiguracionG;
    private javax.swing.JCheckBox jcbPerfil;
    private javax.swing.JCheckBox jcbPerfilA;
    private javax.swing.JCheckBox jcbPerfilB;
    private javax.swing.JCheckBox jcbPerfilE;
    private javax.swing.JCheckBox jcbPerfilI;
    private javax.swing.JCheckBox jcbPerfilR;
    private javax.swing.JCheckBox jcbRepAlmacen;
    private javax.swing.JCheckBox jcbRepAlmacenB;
    private javax.swing.JCheckBox jcbRepAlmacenG;
    private javax.swing.JCheckBox jcbRepAuditoria;
    private javax.swing.JCheckBox jcbRepAuditoriaB;
    private javax.swing.JCheckBox jcbRepAuditoriaG;
    private javax.swing.JCheckBox jcbRepCancelacion;
    private javax.swing.JCheckBox jcbRepCancelacionB;
    private javax.swing.JCheckBox jcbRepCancelacionG;
    private javax.swing.JCheckBox jcbRepEnvio;
    private javax.swing.JCheckBox jcbRepEnvioB;
    private javax.swing.JCheckBox jcbRepEnvioG;
    private javax.swing.JCheckBox jcbRepKardex;
    private javax.swing.JCheckBox jcbRepKardexB;
    private javax.swing.JCheckBox jcbRepKardexG;
    private javax.swing.JCheckBox jcbSimulacion;
    private javax.swing.JCheckBox jcbSimulacionB;
    private javax.swing.JCheckBox jcbSimulacionG;
    private javax.swing.JCheckBox jcbSimulacionS;
    private javax.swing.JCheckBox jcbTAdm;
    private javax.swing.JCheckBox jcbTAeropuerto;
    private javax.swing.JCheckBox jcbTAlmacen;
    private javax.swing.JCheckBox jcbTCargaMasiva;
    private javax.swing.JCheckBox jcbTCargaVuelo;
    private javax.swing.JCheckBox jcbTCliente;
    private javax.swing.JCheckBox jcbTConfiguracion;
    private javax.swing.JCheckBox jcbTEnv;
    private javax.swing.JCheckBox jcbTPerfil;
    private javax.swing.JCheckBox jcbTRep;
    private javax.swing.JCheckBox jcbTRepAlmacen;
    private javax.swing.JCheckBox jcbTRepAuditoria;
    private javax.swing.JCheckBox jcbTRepCancelacion;
    private javax.swing.JCheckBox jcbTRepEnvio;
    private javax.swing.JCheckBox jcbTRepKardex;
    private javax.swing.JCheckBox jcbTSeg;
    private javax.swing.JCheckBox jcbTSim;
    private javax.swing.JCheckBox jcbTSimulador;
    private javax.swing.JCheckBox jcbTUsuario;
    private javax.swing.JCheckBox jcbTVuelo;
    private javax.swing.JCheckBox jcbUsuario;
    private javax.swing.JCheckBox jcbUsuarioA;
    private javax.swing.JCheckBox jcbUsuarioB;
    private javax.swing.JCheckBox jcbUsuarioE;
    private javax.swing.JCheckBox jcbUsuarioI;
    private javax.swing.JCheckBox jcbUsuarioR;
    private javax.swing.JCheckBox jcbVuelo;
    private javax.swing.JCheckBox jcbVueloB;
    private java.awt.Label label5;
    private javax.swing.JLabel lblDurPass;
    private javax.swing.JLabel lblNombPerfil;
    private javax.swing.JPanel pnAdministracion;
    private javax.swing.JPanel pnEnvio;
    private javax.swing.JPanel pnReporte;
    private javax.swing.JPanel pnSeguridad;
    private javax.swing.JPanel pnSimulacion;
    private javax.swing.JSpinner spnTCambioPass;
    private javax.swing.JTabbedPane tabPerfil;
    private javax.swing.JTextField txtDesc;
    private javax.swing.JTextField txt_Nombre1;
    // End of variables declaration//GEN-END:variables
}
